package com.zhc.dejingapi.controller;


import com.zhc.dejingapi.service.QingZbProcesswithrouteService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhc
 * @since 2024-09-11
 */
@RestController
@RequestMapping("/qingZbProcesswithroute")
public class QingZbProcesswithrouteController {

    @Resource
    private QingZbProcesswithrouteService qingZbProcesswithrouteService;

    @PostMapping("/updateProcessWithRoute/{mainId}/{standardWorkingHour}")
    public void updateProcessWithRoute(@PathVariable Long mainId,@PathVariable String standardWorkingHour){
        qingZbProcesswithrouteService.updateProcessWithRoute(mainId,standardWorkingHour);
    }
}
